package com.glory.brepda.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.brepda.R;
import com.glory.brepda.entity.LotInfoEntity;
import com.glory.brepda.entity.WaferEntity;

import java.util.List;

public class LotMantissaAdapter extends BaseQuickAdapter<LotInfoEntity.LotBean, BaseViewHolder> {

    public LotMantissaAdapter(@Nullable List<LotInfoEntity.LotBean> data) {
        super(R.layout.item_mantissa_list);
    }

    @Override
    protected void convert(BaseViewHolder helper, LotInfoEntity.LotBean item) {
        helper.setText(R.id.tvLot,item.getLOTID());
        helper.setText(R.id.tvMainQTY,item.getMAINQTY());
        helper.setText(R.id.tvJudge1,item.getJUDGE1());
        helper.setText(R.id.tvOpenbigMAX,item.getOPENBIGMAX());
        helper.setText(R.id.tvOpenbigMIN,item.getOPENBIGMIN());
        helper.setText(R.id.tvLocatorID,item.getLOCATORID());
    }
}
